﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using MockSchoolManagement.Models.EnumTypes;

namespace MockSchoolManagement.Models
{
    [Table("Student")]
    public class Student
    {
        [Key]
        public int Id { get; set; }

        public string Name { get; set; }
        /// <summary>
        /// 主修科目
        /// </summary>
      
        public MajorEnum? Major { get; set; }
        public string Email { get; set; }
        public string PhotePath { get; set; }
    }
    
}
